package com.tywj.panda.customer.common.provider

import android.app.Activity
import com.tywj.lib.core.common.view.BaseFragment
import com.tywj.lib.route.IServiceProvider
import com.tywj.lib.route.RouteNavigation
import com.tywj.panda.customer.common.entity.TravelEntity

/**
 * @desc 行程组件导航接口
 * @author June Yang
 * @date 2020/5/9
 */
interface ITravelService : IServiceProvider {


    /**
     * 获取微信Fragment
     * @param activity Activity对象
     * @return 微信Fragment
     */
    fun getTravelFragment(activity: Activity): BaseFragment

    fun toTravelDetails(bean: TravelEntity.DataBean): RouteNavigation

}